package com.iot.system.service.impl;


import com.iot.common.annotation.DataSource;
import com.iot.common.core.domain.entity.SysUser;
import com.iot.common.enums.DataSourceType;
import com.iot.system.domain.TestRecord;
import com.iot.system.mapper.TestRecordMapper;
import com.iot.system.service.STestRecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
@DataSource(value = DataSourceType.SLAVE)
public class STestRecordServiceImpl implements STestRecordService {

    @Resource
    private TestRecordMapper testRecordMapper;

    @Override
    public TestRecord selectUserList(Integer testRecord)
    {
        TestRecord testRecordById = testRecordMapper.selectTestRecordById(testRecord);
        return testRecordById;
    }
}
